# -*- coding: UTF-8 -*-
# @description : python
# @Author : zyl
# @Time : 2021/9/7 10:47
# @Remark: IP网络模型
from pydantic import constr

from model.public.base import MxBaseModel


class IpNetworkModel(MxBaseModel):
    """
    IP网络模型
    """
    label: constr(min_length=1, max_length=50)
    TsId: str = 0
    parent: int = 0
    type: int = 0
    state: int = 0
